<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 18.11.2014
 * Time: 14:30
 */

class TestAction extends \Action {
	use \Multilang\Behaviors\Translate;

	/**
	 *
	 */
	protected function run()
	{
		$num = $this->request->num;
		$text = $this->translate('test text code', ['num' => $num], 'ru');
		$this->response->text =  $text;
	}
} 